<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>ajax访问springboot模板项目</title>
</head>

<body>

  <input type="text" id="txtDeptName" placeholder="部门名称模糊查询">
  <button id="btnQuery">查询</button>

  <pre id="preResult"></pre>

  <hr>

  <input type="text" id="txtADeptName" placeholder="部门名称">
  <input type="text" id="txtADeptInfo" placeholder="部门描述">
  <button id="btnAdd">添加</button>

  <hr>

  <input type="text" id="txtDeptId" placeholder="要删除的部门编号">
  <button id="btnDel">删除</button>

  <hr>

  <pre id="preInfo"></pre>

  <script src="./js/test02.js" type="module"></script>

</body>

</html>